package com.xhwl.logistics.enums;

/**
 * @author Aaronloo
 */

public enum VehicleCodeEnum {
    /**
     * 80** 开头  自定义业务异常
     */




    ID_NO_EXIST(8000, "id不能为空"),
    NAME_DUPLICATE(8001,"车场名称重复,不允许添加"),
    PARKING_LOT_NEEDED(8002,"请先选择车场"),
    PLATE_NUMBER_EXISTED(8003,"车牌号已存在"),
    PROJECT_ID_LACK(8004,"缺少项目id"),
    INOUT_STATUS_LACK(8005,"缺少进出场方向"),
    CARD_TYPE_LACK(8006,"车卡类型缺失")
    ;

    public final int code;

    public final String description;

    VehicleCodeEnum(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getDescription() {
        return this.description;
    }
}
